﻿using DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Interface
{
    public interface IDeliverymanImpl:IImpl
    {

        IList<Deliveryman> GetDeliverymanInfo(int id);



        Deliveryman GetItemByID(int id);

        IList<Deliveryman> GetList();


        (int, IList<Deliveryman>) GetList(int rows, int page);


        IList<Deliveryman> GetDeliverymanInfo(string username);


        Deliveryman? Login(string username, string userpass);

        bool Update(int id, Deliveryman deliveryman);


        bool Delete(int id);

        Deliveryman? Find(int id);


        bool Add(Deliveryman deliveryman);

       
    }
}
